package com.cxhc.system.domain.hcdoc;

import java.util.List;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.cxhc.common.annotation.Excel;

/**
 * 信访信息对象 hd_petition_agent
 * 
 * @author Dhq
 * @date 2024-09-26
 */
public class HdPetitionAgent
{

    /** 信访编号 */
    @Excel(name = "信访编号")
    private String petitionNo;

    /** 信访类型，1—停车管理，2—环境卫生，3-消防安全，4-物业管理，5-矛盾纠纷，6-公共绿化，7-其他 */
    @Excel(name = "信访类型",dictType = "petition_type",readConverterExp = "1=停车管理,2=环境卫生,3=消防安全,4=物业管理,5=矛盾纠纷,6=公共绿化,7=其他")
    private Integer petitionType;

    /** 信访上报日期 */
    @Excel(name = "信访上报日期")
    private String petitionDate;

    /** 信访内容 */
    @Excel(name = "信访内容")
    private String petitionContent;

    /** 信访结果 */
    @Excel(name = "信访结果")
    private String petitionResult;

    /** 经办人 */
    @Excel(name = "经办人")
    private String responsibleUser;

    /** 信访状态，1—未办结，2—已办结， */
    @Excel(name = "信访状态",dictType = "petition_status",readConverterExp = "1=未办结,2=已办结")
    private Integer petitionStatus;

    /** 归档状态，0—未归档，1—已归档 */
    @Excel(name = "归档状态",dictType = "pigeonhole_status",readConverterExp = "0=未归档,1=已归档")
    private Integer pigeonholeStatus;

    /** 归档提醒时间 */
//    @Excel(name = "归档提醒时间")
    private Integer noticeDays;

    private String startTime;

    private String endTime;

    private String startDate;

    private String endDate;

    /**
     * 项目文档
     */
    private List<HdProjectDocInfo> hdProjectDocInfos;

    /** 文档所需字段 */
//    @Excel(name = "文档所需字段")
    private String fileList;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
//    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private String ctime;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
//    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private String utime;

    /**
     * 创建用户
     */
    private String createBy;

    /**
     * 更新人
     */
    private String updateBy;

    /** 备注 */
    private String remark;

    public String getResponsibleUser() {
        return responsibleUser;
    }

    public void setResponsibleUser(String responsibleUser) {
        this.responsibleUser = responsibleUser;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getStartDate() {
        return startDate;
    }

    public void setStartDate(String startDate) {
        this.startDate = startDate;
    }

    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public List<HdProjectDocInfo> getHdProjectDocInfos() {
        return hdProjectDocInfos;
    }

    public void setHdProjectDocInfos(List<HdProjectDocInfo> hdProjectDocInfos) {
        this.hdProjectDocInfos = hdProjectDocInfos;
    }

    public void setPetitionNo(String petitionNo)
    {
        this.petitionNo = petitionNo;
    }

    public String getPetitionNo() 
    {
        return petitionNo;
    }
    public void setPetitionType(Integer petitionType) 
    {
        this.petitionType = petitionType;
    }

    public Integer getPetitionType() 
    {
        return petitionType;
    }
    public void setPetitionDate(String petitionDate) 
    {
        this.petitionDate = petitionDate;
    }

    public String getPetitionDate() 
    {
        return petitionDate;
    }
    public void setPetitionContent(String petitionContent) 
    {
        this.petitionContent = petitionContent;
    }

    public String getPetitionContent() 
    {
        return petitionContent;
    }
    public void setPetitionResult(String petitionResult) 
    {
        this.petitionResult = petitionResult;
    }

    public String getPetitionResult() 
    {
        return petitionResult;
    }
    public void setPetitionStatus(Integer petitionStatus) 
    {
        this.petitionStatus = petitionStatus;
    }

    public Integer getPetitionStatus() 
    {
        return petitionStatus;
    }
    public void setPigeonholeStatus(Integer pigeonholeStatus) 
    {
        this.pigeonholeStatus = pigeonholeStatus;
    }

    public Integer getPigeonholeStatus() 
    {
        return pigeonholeStatus;
    }
    public void setNoticeDays(Integer noticeDays) 
    {
        this.noticeDays = noticeDays;
    }

    public Integer getNoticeDays() 
    {
        return noticeDays;
    }
    public void setFileList(String fileList) 
    {
        this.fileList = fileList;
    }

    public String getFileList() 
    {
        return fileList;
    }
    public void setCtime(String ctime)
    {
        this.ctime = ctime;
    }

    public String getCtime()
    {
        return ctime;
    }
    public void setUtime(String utime)
    {
        this.utime = utime;
    }

    public String getUtime()
    {
        return utime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("petitionNo", getPetitionNo())
            .append("petitionType", getPetitionType())
            .append("petitionDate", getPetitionDate())
            .append("petitionContent", getPetitionContent())
            .append("petitionResult", getPetitionResult())
            .append("petitionStatus", getPetitionStatus())
            .append("pigeonholeStatus", getPigeonholeStatus())
            .append("remark", getRemark())
            .append("noticeDays", getNoticeDays())
            .append("fileList", getFileList())
            .append("ctime", getCtime())
            .append("createBy", getCreateBy())
            .append("utime", getUtime())
            .append("updateBy", getUpdateBy())
            .toString();
    }
}
